def foo():
	print 'calling foo()..'
	bar=200
	print 'in foo(),bar is ',bar
bar=100
print 'in_main__ bar is',bar
foo()